package com.wxy.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wxy.domain.SecurityUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

/**
 * @author 47868
 */
@Mapper
@Component("SecurityUserMapper")
public interface SecurityUserMapper extends BaseMapper<SecurityUser> {
    @Select("select * from user2 where username=#{username}")
    public SecurityUser findByUsername(@Param("username") String string);
}
